<template>
	<messageCard :list="list"></messageCard>
</template>

<script>
	import {getGoodsBuyStatus} from '@/api/goods.js'
	import messageCard from '../../../src/components/messageCard/messageCard.vue'
	export default {
		components:{
			messageCard
		},
		onShow() {
			this.getTruncationStatus()
		},
		data() {
			return {
				list:[]
			};
		},
		methods:{
			getTruncationStatus(){
				getGoodsBuyStatus().then(res=>{
					if(res.data.code==200){
						this.list=res.data.data
					}
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
